package com.artqiyi.dollmachine.common.constant;

/**
 * Created by Administrator on 2017/10/30 0030.
 */

public class Constant {

    //产品版本号
    public static final String X_PRODUCT_VERSION = "2.3.0";
    /*娃娃机状态*/
    //空闲中
    public static final int STATUS_FREE = 0;
    //游戏中
    public static final int STATUS_PLAYING = 1;
    //故障
    public static final int STATUS_BREAKDOWN = 2;

    /*key*/
    public static final String KEY_DOLLBEAN = "key_dollbean";
    public static final String KEY_MACHINE_ID = "key_machine_id";
    public static final String KEY_MACHINE_DETAIL_IMAGE = "key_machine_detail_image";
    public static final String KEY_MINE_WEBVIEW_TYPE = "key_mine_webview_type";

    /*微信登录*/
    public static final String WX_APP_ID = "wxc7dc286189d07746";

    /*bugly*/
    public static final String BUGLY_ID = "b07a7fd31b";

    /*查询操作的结果*/
    public static final int OPERATE_RESULT_WITHOUT_OPERATE = -1;        //失败没有操作
    public static final int OPERATE_RESULT_SUCCESS = 1;                 //成功
    public static final int OPERATE_RESULT_FAIL = 2;                    //失败

    /*进出房间*/
    public static final String GAME_ACTION_ENTER = "enter";                       //进入房间
    public static final String GAME_ACTION_EXIT = "exit";                        //退出房间

    /*充值还是游戏*/
    public static final String RECORDABLE_TYPE_PAYMENT = "payment";
    public static final String RECORDABLE_TYPE_PAYMENT_AWARD = "payment_award";
    public static final String RECORDABLE_TYPE_GAME_RECORD = "game_record";
    public static final String RECORDABLE_TYPE_REGISTER = "register";
    public static final String RECORDABLE_TYPE_SYSTEM = "system";

    /*webview的类型*/
    public static final String MINE_ORDER = "mine_order";
    public static final String MINE_ADDRESS = "mine_address";
    public static final String MINE_MYWAWA = "mine_mywawa";

    /*webview的地址*/
    public static final String URL_MINE_ORDER = "/?#/order-list?api_token=";
    public static final String URL_MINE_ADDRESS = "/?#/address-list?api_token=";
    public static final String URL_MINE_MYWAWA = "/?#/mywawa?api_token=";

    /*操作界面的设备状态*/
    public static final int DEVICE_STATUS_FREE = 0;
    public static final int DEVICE_STATUS_PLAYING = 1;
    public static final int DEVICE_STATUS_BREAKDOWN = 2;

    /*订阅或者取消订阅*/
    public static final String CHANNEL_EVENT_TYPE_SUBSCRIBE = "subscribe";
    public static final String CHANNEL_EVENT_TYPE_UNSUBSCRIBE = "unsubscribe";

    /*对接的是奇艺果娃娃机硬件系统环境*/
    public static final String DOLL_ENV_TEST = "test";
}
